
Pod::Spec.new do |s|
  s.name             = 'MockServer'
  s.version          = '0.1.0'
  s.summary          = 'iOS 平台 mock 工具'
  s.description      = <<-DESC
    简单三步实现自定义 mock 功能：
      1、启动本地服务
      2、app 连接启动的服务
      3、创建 mock 数据，创建匹配表，将真实接口与 mock 数据进行一一匹配
                       DESC

  s.homepage         = 'https://gitee.com/honeycao/mock-server'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'yaqiang.cao' => 'yaqiang.cao@weimob.com' }
  s.source           = { :git => 'https://gitee.com/honeycao/mock-server.git', :tag => s.version.to_s }

  s.ios.deployment_target = '9.0'

  s.default_subspec = 'source' 
  s.resource = 'MockServer/Classes/**/*.{xib,nib}'

  s.subspec 'source' do |ss|
    ss.source_files = 'MockServer/Classes/**/*.{h,m}'
    ss.public_header_files = 'MockServer/Classes/**/*.h'
  end

  s.subspec 'framework' do |ss|
    ss.source_files = "Frameworks/MockServer.framework/Headers/*.{h}"
    ss.public_header_files = "Frameworks/MockServer.framework/Headers/*.{h}"
    ss.exclude_files = ['Frameworks/MockServer.framework/Headers/MockServer-umbrella.h']
    ss.ios.vendored_framework = "Frameworks/MockServer.framework"
  end

end
